import {
	defineStore
} from "pinia";

import {
	reactive
} from "vue";
export const useLongLatStore = defineStore("longLat", () => {
	const info = reactive({
		latitude: "",
		longitude: "",
	});

	function setLongLat(latitude, longitude) {
		info.latitude = latitude;
		info.longitude = longitude;
		console.log('info.latitude: ', info.latitude);
		console.log('info.longitude: ', info.longitude);
	}

	return {
		info,
		setLongLat
	};
});